﻿using System;
using System.Configuration;


namespace TheCollectiveNetwork.Classes.Globals
{
    public class constring
    {
        public static string pub_str
        {
            get { return @"TheCollectiveNetworkDatabase"; }
        }

        public static string write_str
        {
            get { return @"TheCollectiveNetworkDatabase"; }
        }      

    }


    public class appstring  {

        public static string urlpath
        {
            get { return ConfigurationManager.AppSettings["urlpath"].ToString(); }
        }

         public static string title
        {
            get { return ConfigurationManager.AppSettings["title"].ToString(); }
        }

         public static string maildomain
         {
             get { return ConfigurationManager.AppSettings["maildomain"].ToString(); }

         }

         public static string maildomainsender
         {
             get { return ConfigurationManager.AppSettings["maildomainsender"].ToString(); }

         }

         public static int PasswordMaxAgeDays
         {
             get { return Convert.ToInt32(ConfigurationManager.AppSettings["PasswordMaxAgeDays"]); }

         }

         public static int PasswordMaxFailedAttempts
         {
             get { return Convert.ToInt32(ConfigurationManager.AppSettings["PasswordMaxFailedAttempts"]); }

         }

        public static int PasswordMinLength
         {
             get { return Convert.ToInt32(ConfigurationManager.AppSettings["PasswordMinLength"]); }

         }
     
    }

      
}


